package cn.qiao.transactionDemo.service.impl;

import cn.qiao.transactionDemo.service.TransService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


/**
 * desc:
 *
 * @author qiao
 * @date 2022年04月27日 9:55
 */
@Service
public class TransServiceImpl implements TransService {


    @Override
    @Transactional(rollbackFor = Exception.class)
    public void Test() {
    }
}
